package com.zxx.pattern.interpretPattern.interpret;

/**
 * 乘
 * @author zxx on 2021/2/24
 */
public class MulNode extends SymbolNode {


    public MulNode(Node left, Node right) {
        super(left, right);
    }

    @Override
    public int interpret() {
        return left.interpret() * right.interpret();
    }
}
